/**
 * Created by boot on 12/3/15.
 */
function print(){
    if (confirm('确定打印吗?')){
        alert("pirnting...");
        /* document.frames("frmPg").print();
         document.frames("frmPg").window.focus();
         window.print(); */
        b = window.open();
        b.document.open();
        b.document.write(document.getElementById("funcPg").outerHTML);
        b.document.execCommand('SaveAs', '123.html');
        b.document.close();
    }
}
function preview(){
    b = window.open();
    b.document.open();
    b.document.write(document.getElementById("funcPg").outerHTML);
}
function chgPswd(){
    b = window.open("/user/modiPswd");
}
